package com.ljy.my_study.java.classloader;

/**
 * @author lijunying
 * @date 2021/1/4 9:04
 */
public class MyClassLoader extends ClassLoader{

    @Override
    public Class<?> loadClass(String name) throws ClassNotFoundException {
        System.out.println("MyClassLoader loadClass start.");
//        Class<?> result=this.classLoader.loadClass(name);
        Class<?> result=super.loadClass(name);
        System.out.println("MyClassLoader loadClass end.");
        return result;
    }
}
